package io.github.lee.jel.domain.po

import android.os.Parcelable
import androidx.annotation.Keep
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize

@Keep
@Entity
@Parcelize
data class JellyfinSession(
    @PrimaryKey(autoGenerate = true) val id: Long? = null,
    @ColumnInfo val userId: String,
    @ColumnInfo var name: String,
    @ColumnInfo var address: String,
    @ColumnInfo var username: String,
    @ColumnInfo var password: String,
    @ColumnInfo var accessToken: String,
    @ColumnInfo var serverId: String?,
    @ColumnInfo var current: Boolean? = false,
) : Parcelable


